package com.smarttest.common.constants;

/**
 * 命令码集合
 */
public final class CmdConstant {
	//上行
	/** 0x0001终端通用应答 */
	public static final int CMD_RESP = 0x0001;

	/** 0X0002终端心跳 */
	public static final int CMD_HEARTBEAT = 0x0002;
	/** 0x000C实时时间校准 */
	public static final int CMD_SYNC_TIME = 0x000C;
	/** 0x000E司机卡信息录入请求*/
	public static final int CMD_0x000E = 0x000E;
	/** 0x000F司机驾驶信息请求*/
	public static final int CMD_0x000F = 0x000F;
	/** 0x0006 获取终端检测信息应答 */
	public static final int CMD_CHECK_INFO = 0x0006;
	
	/** 0x0100上报基本信息到升级服务器 */
	public static final int CMD_BASEINFO_2_SERVER = 0x0100;
	
	
	/** 0x0007查询车机报警语音应答 */
	public static final int CMD_0x0007 = 0x0007;
	
	/** 0x0201查询参数应答 */
	public static final int CMD_PARA_QUERY = 0x0201;
	
	/** 0x0300远程升级命令应答 */
	public static final int UPGRADE_RESPONSE = 0x0300;
	
	/** 0x0301远程升级数据补传 */
	public static final int UPGRADE_REISSUE = 0x0301;
	
	/** 0x0302远程升级结果 */
	public static final int UPGRADE_RESULT = 0x0302;
	
	/** 0x0303远程文件备份 */
    public static final int UPGRADE_BACKUP = 0x0303;
	
	/** 0x0400 SMS上行透传 */
	public static final int CMD_SMS_UP = 0x0400;
	
	/** 0x8400 SMS下行透传 */
	public static final int CMD_SMS_DOWN = 0x8400;
	
	/** 0x0500事件上报 */
	public static final int CMD_EVENT_REPORT = 0x0500;
	
	/** 0x0501事件批量上传 */
	public static final int CMD_EVENT_REPORT_BATCH = 0x0501;

	/** 0x0502位置信息事件点名应答 */
	public static final int CMD_LOC_INFO_EVENT = 0x0502;
	
	/** 0x0608查询圆形区域应答 */
	public static final int CMD_ROUND_QUERY_RES = 0x0608;
	
	/** 0x0609查询矩形区域应答 */
	public static final int CMD_RECTANGLE_QUERY_RES = 0x0609;
	
	/** 0x060A查询多边形区域应答 */
	public static final int CMD_POLYGON_QUERY_RES = 0x060A;
	
	/** 0x060B查询路线应答 Long */
	public static final int CMD_0x060B = 0x060B;
	
	/** 0x0802存储多媒体数据检索应答 Long */
	public static final int CMD_0x0802 = 0x0802;
	
	/** 0x0805摄像头立即拍摄命令应答（预留） */
	public static final int CMD_0x0805 = 0x0805;
	
	/**0x0310 DI远程升级命令应答命令*/
	public static final int CMD_0X0310 = 0x0310;
	
	/**0X0311 DI远程升级数据补传命令*/
	public static final int CMD_0X0311 = 0X0311;
	
	/** 0x0312 DI远程升级结果命令*/
	public static final int CMD_0X0312 = 0x0312;
	
	/** 0x0A00冷链实时数据定时上报*/
	public static final int CMD_COLD_CHAIN = 0x0A00;
	
	/** 0x0012 请求冷链实时信息应答*/
    public static final int CMD_0X0012 = 0x0012;
	
	/** 0x0A01冷链报警信息上报*/
	public static final int CMD_COLD_CHAIN_ALARM = 0x0A01;
	
	/**0x0700Can明细*/
	public static final int CMD_CAN_DISTANCE = 0x0700;
	
	/**0x0701Can行程*/
	public static final int CMD_CAN_DETAIL = 0x0701;
	
	/**0x0014 东风物联Can明细*/
	public static final int CMD_0X0014 = 0x0014;
	
	/**0x0702文件上传请求*/
	public static final int CMD_0X0702 = 0x0702;
	
	/**0x0703文件包上传命令*/
    public static final int CMD_0X0703 = 0x0703;
   /**	0x0704 EMS行程基本数据上报（1-1S）*/
    public static final int CMD_0X0704 = 0x0704;
    /**0x0705 EMS行程占比数据上报（1-1S）*/
    public static final int CMD_0X0705 = 0x0705;
    /**	0x0707 EMS行程明细数据上报（1-1S）*/
    public static final int CMD_0X0707 = 0x0707;
    /** 0x0708 EMS故障码上报（1-1S）*/
    public static final int CMD_0X0708 = 0x0708;
    /**0x070A EMS分钟行程上报*/
    public static final int CMD_0X070A = 0x070A;
    /**0x070B EMS电动车充电（1-1S）*/
    public static final int CMD_0X070B = 0x070B;
	
	//下行
	/** 0x8001平台通用应答 */
	public static final int CMD_0x8001 = 0x8001;
	/** 0x8003终端控制 */
	public static final int CMD_0x8003 = 0x8003;
	/** 0x8004文本信息下发 */
	public static final int CMD_0x8004 = 0x8004;
	/** 0x8005车辆控制 */
	public static final int CMD_0x8005 = 0x8005;
	/** 0x8006获取终端检测信息 */
	public static final int CMD_0x8006 = 0x8006;
	/** 0x8007查询车机报警语音 */
	public static final int CMD_0x8007 = 0x8007;
	/** 0x8008冷链临时查询实时信息 */
	public static final int CMD_0x8008 = 0x8008;
	/** 0x8009冷链任务下发(预留) */
	public static final int CMD_0x8009 = 0x8009;
	/** 0x800A CAN临时查询实时明细（预留） */
	public static final int CMD_0x800A = 0x800A;
	/** 0x800B查询明细 */
	public static final int CMD_0x800B = 0x800B;
	/** 0x800C实时时间校准应答 */
	public static final int RESP_SYNC_TIME = 0x800C;
    /**0x800E 司机卡录入信息下发*/
	public static final int CMD_0x800E = 0x800E;
	/** 0x800F司机驾驶记录下发*/
	public static final int CMD_0x800F = 0x800F;
	/** 0x8019远程 上 下班命令  */
	public static final int CMD_0x8019 = 0x8019;
	/** 0x8100上报基本信息到升级服务器应答 */
	public static final int CMD_0x8100 = 0x8100;
	/** 0X8101配置/升级/转连命令下发 */
	public static final int CMD_0x8101 = 0x8101;
	/** 0x8200参数设置 */
	public static final int CMD_0x8200 = 0x8200;
	/** 0x8201参数查询 */
	public static final int CMD_0x8201 = 0x8201;
	/** 0x8300远程升级命令 */
	public static final int CMD_UPGRADE = 0x8300;
	/** 0x8301远程升级数据下发 */
	public static final int CMD_SEND_DATA = 0x8301;
	/** 0x8400 SMS下行透传 */
	public static final int CMD_0x8400 = 0x8400;
	/** 0x8502位置信息事件点名 */
	public static final int CMD_0x8502 = 0x8502;
	/** 0x8503临时位置跟踪控制 */
	public static final int CMD_0x8503 = 0x8503;
	/** 0x8600设置圆形区域 */
	public static final int CMD_0x8600 = 0x8600;
	/** 0x8601删除圆形区域 */
	public static final int CMD_0x8601 = 0x8601;
	/** 0x8602设置矩形区域 */
	public static final int CMD_0x8602 = 0x8602;
	/** 0x8603删除矩形区域 */
	public static final int CMD_0x8603 = 0x8603;
	/** 0x8604设置多边形区域 */
	public static final int CMD_0x8604 = 0x8604;
	/** 0x8605删除多边形区域 */
	public static final int CMD_0x8605 = 0x8605;
	/** 0x8606设置路线 */
	public static final int CMD_0x8606 = 0x8606;
	/** 0x8607删除路线 */
	public static final int CMD_0x8607 = 0x8607;
	/** 0x8608查询圆形区域 */
	public static final int CMD_0x8608 = 0x8608;
	/** 0x8609查询矩形区域 */
	public static final int CMD_0x8609 = 0x8609;
	/** 0x860A查询多边形区域 */
	public static final int CMD_0x860A = 0x860A;
	/** 0x860B查询路线信息 */
	public static final int CMD_0x860B = 0x860B;
	/** 0x8800多媒体数据上传应答 */
	public static final int CMD_0x8800 = 0x8800;
	/** 0x8801摄像头立即拍摄命令 */
	public static final int CMD_0x8801 = 0x8801;
	/** 0x8802存储多媒体数据检索 */
	public static final int CMD_0x8802 = 0x8802;
	/** 0x8803存储多媒体数据上传命令 */
	public static final int CMD_0x8803 = 0x8803;
	/** 0x8805单条存储多媒体数据检索上传命令 */
	public static final int CMD_0x8805 = 0x8805;
	/** 0x8900数据下行透传 */
	public static final int CMD_0x8900 = 0x8900;
	/** 0x0900数据上行透传 */
	public static final int CMD_0x0900 = 0x0900;
	/** 0x0902数据上行透传 */
    public static final int CMD_0x0902 = 0x0902;
	
	/** 0x8310 DI远程升级命令 */
	public static final int CMD_0X8310 = 0x8310;
	/** 0x8311 DI远程升级数据下发命令 */
	public static final int CMD_0X8311 = 0x8311;

	/** 0x000D ADAS警报信息上报 */
	public static final int CMD_ADAS_ALARM = 0x000D;
	
	/** EMS超速事件 */
    public static final int SMART_EMS_OVER_SPEED = 19;
    /** EMS转速过高报警 */
    public static final int SMART_EMS_OVER_ROTATING  = 20;
    /** EMS冷却液温度过高报警 */
    public static final int SMART_EMS_COOLANT_TEMPERATURE  = 21;
    /** EMS油压过低报警 */
    public static final int SMART_EMS_FUEL_PRESSURE  = 22;
    /** EMS PTO报警 */
    public static final int SMART_EMS_PTO  = 23;
    /** EMS 急减速报警 */
    public static final int SMART_EMS_RAPID_DECELERATION  = 24;
    /** EMS 急加速报警 */
    public static final int SMART_EMS_RAPID_ACCELERATION  = 25;
    /** EMS 异常怠速报警 */
    public static final int SMART_EMS_ABNORMAL_IDLE  = 26;	
}
